package team.kas.anime.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import team.kas.anime.pojo.Fan;

public interface FanMapper {
    int deleteByPrimaryKey(String id);

    int insert(Fan record);

    Fan selectByPrimaryKey(String id);

    List<Fan> selectAll(@Param("page") Integer page, @Param("limit") Integer limit, @Param("uid") String uid);

    int updateByPrimaryKey(Fan record);

    Fan selectByFanid(@Param("f") String f,@Param("u") String u);

    Integer deleteById(@Param("userid") String userid,@Param("videoUserid") String videoUserid);

    Integer getCount();
}